package com.patter.demo.visitor;

/**
 * @Author create by xcb 2023/2/6 10:24
 */
public class VisitorPatternDemo {

    public static void main(String[] args) {

        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
